import './App.css'
import React, { Suspense } from 'react'
import DynamicRouter from './router/dynamicRouter'
import { Spin, message } from 'antd'
function App() {
  //
  message.config({
    maxCount: 1,
    rtl: false
  })
  return (
    <Suspense fallback={<Spin size="large"></Spin>}>
      <div className="App">
        <DynamicRouter></DynamicRouter>
      </div>
    </Suspense>
  )
}

export default App
